package com.xnyzc.lhy.order.entity.common.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xnyzc.lhy.order.entity.order.OaCOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
* <p>
* 审批公务订单
* </p>
*
* @author lhy@xnyzc.com
* @since 2019-07-22
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaCOrderApprovalOfficial对象", description="审批公务订单")
public class OaCOrderApprovalOfficialExt extends OaCOrder implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value="approval_official_id", type = IdType.INPUT)
    private Long approvalOfficialId;

    @ApiModelProperty(value = "审批流ID")
    private Long approvalId;
    @ApiModelProperty(value = "公务金额")
    private BigDecimal officialFee;
    @ApiModelProperty(value = "私用费用")
    private BigDecimal selfFee;
    @ApiModelProperty(value = "部门ID")
    private Integer officeId;
    @ApiModelProperty(value = "审批状态（0：待审批、1：审批中、2：通过、3：驳回、4：取消申请）")
    private Integer approvalStatus;
    @ApiModelProperty(value = "申请原因")
    private String applyReason;
    @ApiModelProperty(value = "审批事项（参见字典表）")
    private Integer applyMatter;
    @ApiModelProperty(value = "当前审批节点")
    private Integer approvalNode;

    public static final String NOTARIZE_GET_ON_TIME = "notarize_get_on_time";

    public static final String DEPT_OFFICIAL_ID = "dept_official_id";

    public static final String APPROVAL_ID = "approval_id";

    public static final String ORDER_NO = "order_no";

    public static final String ORDER_TYPE = "order_type";

    public static final String ORDER_STATUS = "order_status";

    public static final String PASSENGER_PHONE = "passenger_phone";

    public static final String APPOINTMENT = "appointment";

    public static final String ORDER_TIME = "order_time";

    public static final String VEHICLE_TYPE = "vehicle_type";

    public static final String START_ADDRESS = "start_address";

    public static final String END_ADDRESS = "end_address";

    public static final String START_LNG = "start_lng";

    public static final String START_LAT = "start_lat";

    public static final String END_LNG = "end_lng";

    public static final String END_LAT = "end_lat";

    public static final String CLNG = "clng";

    public static final String CLAT = "clat";

    public static final String ESTIMATE_PRICE = "estimate_price";

    public static final String BASE_FEE = "base_fee";

    public static final String MILEAGE_FEE = "mileage_fee";

    public static final String MILAGE_DISTANCE = "milage_distance";

    public static final String DURATION_FEE = "duration_fee";

    public static final String DURATION_TIME = "duration_time";

    public static final String DISTANCE_FEE = "distance_fee";

    public static final String SELF_FEE = "self_fee";

    public static final String OFFICIAL_FEE = "official_fee";

    public static final String TOTAL_FEE = "total_fee";

    public static final String ACTUAL_FEE = "actual_fee";

    public static final String COUPON_DEDUCTION_FEE = "coupon_deduction_fee";

    public static final String COUPON_ID = "coupon_id";

    public static final String RULES_ID = "rules_id";

    public static final String INVOICE_STATUS = "invoice_status";

    public static final String USER_ID = "user_id";

    public static final String DRIVER_ID = "driver_id";

    public static final String IS_COMMENT = "is_comment";

    public static final String PAYMENT_TYPE = "payment_type";

    public static final String CITY_ID = "city_id";

    public static final String DEPT_ID = "dept_id";

    public static final String TAG = "tag";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

    public static final String CARPOOL_SERIAL_NO = "carpool_serial_no";

}
